xenpm: Add a small scheduler knob "sched_smt_power_savings"
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:59:47 +0000 (08:59 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Mar 2009 08:59:47 +0000 (08:59 +0000)
commit7b915d3eaf2802578456359b5e756af0c1246c58
tree5cf79bd30fcd9ee1ee7a7487670fe436ef38f5e5
parentcec3850d146e992d3f8452cc154d9728c4fbc647
xenpm: Add a small scheduler knob "sched_smt_power_savings"

Current scheduler only care performance, thus always picks pCPU from
the most idle package. This knob provides another option to pick pCPU from
least idle package, for user who want performance power balance.

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Tian Kevin <kevin.tian@intel.com>
tools/libxc/xc_pm.c
tools/libxc/xenctrl.h
tools/misc/xenpm.c
xen/common/sched_credit.c
xen/common/schedule.c
xen/drivers/acpi/pmstat.c
xen/include/public/sysctl.h
xen/include/xen/sched.h